<!DOCTYPE html>

<html class="app-ui">

	<head>
		<!-- Meta -->
		<meta charset="UTF-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge" />
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />

		<!-- Document title -->
		<title>万邦-云阅卷</title>

		<meta name="description" content="AppUI - Admin Dashboard Template & UI Framework" />
		<meta name="author" content="rustheme" />
		<meta name="robots" content="noindex, nofollow" />

		<!-- Favicons -->
		<link rel="apple-touch-icon" href="assets/img/favicons/apple-touch-icon.png" />
		<link rel="icon" href="assets/img/favicons/favicon.ico" />

		<!-- Google fonts -->


		<!-- Page JS Plugins CSS -->
		<link rel="stylesheet" href="assets/js/plugins/slick/slick.min.css" />
		<link rel="stylesheet" href="assets/js/plugins/slick/slick-theme.min.css" />

		<!-- AppUI CSS stylesheets -->
		<link rel="stylesheet" id="css-font-awesome" href="assets/css/font-awesome.css" />
		<link rel="stylesheet" id="css-ionicons" href="assets/css/ionicons.css" />
		<link rel="stylesheet" id="css-bootstrap" href="assets/css/bootstrap.css" />
		<link rel="stylesheet" id="css-app" href="assets/css/app.css" />
		<link rel="stylesheet" id="css-app-custom" href="assets/css/app-custom.css" />
		<!-- End Stylesheets -->
		<script src="assets/js/jquery.min.js"></script>

		<script>
			$(function(){
				var teaId = 1;//教师id
				var schId = 1;//学校id
				examList();//阅卷任务列表
				
				$('#infoBody').delegate('button','click',scorePage);
				
				
				//点击我要阅卷
				function clickScore(){
					
				}
				
				//显示打分界面
				function scorePage(){
					var url = $(this).attr("url");//获取阅卷信息参数
					console.log(url);
					window.location.href = "scorePage.html?"+url;//跳转
					
					
				}
				
				//显示阅卷列表信息(拼接字符串)
				function appendExamList(data){
					$("#scoreNum").html(data.examInfoList[0].allCount);
					var str = "";
					for(var i=0;i<data.examInfoList.length;i++){
						str += '<tr>'+
						'<td class="text-center" >'+(i+1)+'</td>'+
						'<td class="font-500">'+data.examInfoList[i].examNm+'</td>'+
						'<td class="hidden-x">'+data.examInfoList[i].subNm+'</td>'+
						'<td class="hidden-xs" >'+data.examInfoList[i].topicNo+'</td>'+
						'<td class="hidden-xs">'+data.examInfoList[i].alreadyCount+'/'+data.examInfoList[i].allCount+'</td>'+
						'<td class="hidden-xs">共'+data.examInfoList[i].allocationNum+'份试卷'+data.examInfoList[i].allMExamMarkerTeacherCount+'位阅卷人</td>'+
						'<td class="text-center">'+
						'<div class="btnDiv btn-group">'+
						'<button class="btn btn-xs btn-default" type="button" data-toggle="tooltip" url="markerId='+data.examInfoList[i].markerId+'&examId='+data.examInfoList[i].examId+'&examNm='+data.examInfoList[i].examNm+'&subNm='+data.examInfoList[i].subNm+'&topicNo='+data.examInfoList[i].topicNo+'&topicScore='+data.examInfoList[i].topicScore+'&examSubId='+data.examInfoList[i].examSubId+'">我要阅卷</button>'+
						'<button class="btn btn-xs btn-default" type="button" data-toggle="tooltip" >回评重阅</button>'+
						'<button class="btn btn-xs btn-default" type="button" data-toggle="tooltip" >查看进度</button>'+
						'</div>'+
						'</td>'+
						'</tr>';
					}
					$("#infoBody").html(str);
				}
				
				//阅卷任务列表ajax
				function examList() {
								var token = sessionStorage.getItem("token")
							$.ajax({
								headers: {
									"token": token
								},
								type: "get",
								url: "http://localhost:6210/exam-score/setting/examInfo",
								data: {
									teaId: teaId,
									schId: schId
								},
								contentType: "application/x-www-form-urlencoded",
								success: function(data) {
									if(data.code = 1001){
										appendExamList(data);
									}
								},
								//请求失败，包含具体的错误信息
								error: function(e) {
									console.log("ajax请求失败");
								}
							});
						}
				
			})
			
		</script>

	</head>

	<body class="app-ui layout-has-drawer layout-has-fixed-header">
		<div class="app-layout-canvas">
			<div class="app-layout-container">

				<!-- Drawer -->
				<aside class="app-layout-drawer">

					<!-- Drawer scroll area -->
					<div class="app-layout-drawer-scroll">
						<!-- Drawer logo -->
						<div id="logo" class="drawer-header">
							<a href="index.html">
								<h4 style=" text-align:center">云阅卷</h4>
							</a>
						</div>

						<!-- Drawer navigation -->
						<nav class="drawer-main">
							<ul class="nav nav-drawer">


								<li class="nav-item nav-drawer-header">菜单导航</li>

								<li class="nav-item nav-item-has-subnav">
									<a href="javascript:void(0)"><i class="ion-ios-calculator-outline"></i>考试管理</a>
									<ul class="nav nav-subnav">

										<li>
											<a href="examList.html">考试列表</a>
										</li>

										<li>
											<a href="createExam.html">创建考试</a>
										</li>
									</ul>
								</li>

								<li class="nav-item nav-item-has-subnav">
									<a href="javascript:void(0)"><i class="ion-ios-compose-outline"></i> 在线阅卷</a>
									<ul class="nav nav-subnav">

										<li>
											<a href="examSetting.html">阅卷设置</a>
										</li>

										<li>
											<a href="examPapers.html">我要阅卷</a>
										</li>

										<li>
											<a href="examProblemPapers.html">问题卷处理</a>
										</li>
										<li>
											<a href="examProgress.html">进度监控</a>
										</li>

										<li>
											<a href="examQuality.html">质量抽查</a>
										</li>

									</ul>
								</li>


								<li class="nav-item nav-item-has-subnav">
									<a href="javascript:void(0)"><i class="ion-ios-list-outline"></i> 成绩管理</a>
									<ul class="nav nav-subnav">

										<li>
											<a href="examReport.html">考试成绩单</a>
										</li>

										<li>
											<a href="examSubReport.html">单科试题得分表</a>
										</li>

										<li>
											<a href="gradeAnalyze.html">年纪成绩分析</a>
										</li>

										<li>
											<a href="classAnalyze.html">班级成绩分析</a>
										</li>

									</ul>
								</li>

								<li class="nav-item nav-item-has-subnav">
									<a href="javascript:void(0)"><i class="ion-ios-browsers-outline"></i> 教师讲卷</a>
									<ul class="nav nav-subnav">

										<li>
											<a href="scoreAndPapers.html">成绩与答卷</a>
										</li>

										<li>
											<a href="highScoreComposition.html">高分作文</a>
										</li>

										<li>
											<a href="topicScore.html">试题得分情况</a>
										</li>

										<li>
											<a href="subAnalyzeReport.html">学科分析报表</a>
										</li>
									</ul>
								</li>

								<li class="nav-item nav-item-has-subnav">
									<a href="javascript:void(0)"><i class="ion-social-javascript-outline"></i> 用户中心</a>
									<ul class="nav nav-subnav">

										<li>
											<a href="schoolManager.html">学校管理</a>
										</li>

										<li>
											<a href="subManager.html">学科管理</a>
										</li>

										<li>
											<a href="gradeManager.html">年级管理</a>
										</li>

										<li>
											<a href="gradeAndSubManager.html">年级与学科关系维护</a>
										</li>

										<li>
											<a href="teaManager.html">教师管理</a>
										</li>

										<li>
											<a href="classManager.html">班级管理</a>
										</li>

										<li>
											<a href="stuManager.html">学生管理</a>
										</li>

										<li>
											<a href="subAdnClassAnager.html">学科与班级关系维护</a>
										</li>
									</ul>
								</li>

							</ul>
						</nav>
						<!-- End drawer navigation -->

						<div class="drawer-footer">
							<p class="copyright">Copyright &copy; 2020.北京万邦易嵌科技有限公司.<a target="_blank" href="http://www.wanbangee.com">万邦易嵌</a></p>
						</div>
					</div>
					<!-- End drawer scroll area -->
				</aside>
				<!-- End drawer -->

				<!-- Header -->
				<header class="app-layout-header">
					<nav class="navbar navbar-default">
						<div class="container-fluid">
							<div class="navbar-header">
								<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#header-navbar-collapse"
								 aria-expanded="false">
									<span class="sr-only">Toggle navigation</span>
									<span class="icon-bar"></span>
									<span class="icon-bar"></span>
									<span class="icon-bar"></span>
								</button>
								<button class="pull-left hidden-lg hidden-md navbar-toggle" type="button" data-toggle="layout" data-action="sidebar_toggle">
									<span class="sr-only">Toggle drawer</span>
									<span class="icon-bar"></span>
									<span class="icon-bar"></span>
									<span class="icon-bar"></span>
								</button>
								<span class="navbar-page-title">

									Dashboard
								</span>
							</div>

							<div class="collapse navbar-collapse" id="header-navbar-collapse">
								<!-- Header search form -->
								<form class="navbar-form navbar-left app-search-form" role="search">
									<div class="form-group">
										<div class="input-group">
											<input class="form-control" type="search" id="search-input" placeholder="Search..." />
											<span class="input-group-btn">
												<button class="btn" type="button"><i class="ion-ios-search-strong"></i></button>
											</span>
										</div>
									</div>
								</form>

								<ul id="main-menu" class="nav navbar-nav navbar-left">
									<li class="dropdown">
										<a href="#" data-toggle="dropdown">English <span class="caret"></span></a>

										<ul class="dropdown-menu">
											<li><a href="javascript:void(0)">French</a></li>
											<li><a href="javascript:void(0)">German</a></li>
											<li><a href="javascript:void(0)">Italian</a></li>
										</ul>
									</li>
									<li class="dropdown">
										<a href="#" data-toggle="dropdown">Pages <span class="caret"></span></a>

										<ul class="dropdown-menu">
											<li><a href="javascript:void(0)">Analytics</a></li>
											<li><a href="javascript:void(0)">Visits</a></li>
											<li><a href="javascript:void(0)">Changelog</a></li>
										</ul>
									</li>
								</ul>
								<!-- .navbar-left -->

								<ul class="nav navbar-nav navbar-right navbar-toolbar hidden-sm hidden-xs">
									<li>
										<!-- Opens the modal found at the bottom of the page -->
										<a href="javascript:void(0)" data-toggle="modal" data-target="#apps-modal"><i class="ion-grid"></i></a>
									</li>

									<li class="dropdown">
										<a href="javascript:void(0)" data-toggle="dropdown"><i class="ion-ios-bell"></i> <span class="badge">3</span></a>
										<ul class="dropdown-menu dropdown-menu-right">
											<li class="dropdown-header">Profile</li>
											<li>
												<a tabindex="-1" href="javascript:void(0)"><span class="badge pull-right">3</span> News </a>
											</li>
											<li>
												<a tabindex="-1" href="javascript:void(0)"><span class="badge pull-right">1</span> Messages </a>
											</li>
											<li class="divider"></li>
											<li class="dropdown-header">More</li>
											<li>
												<a tabindex="-1" href="javascript:void(0)">Edit Profile..</a>
											</li>
										</ul>
									</li>

									<li class="dropdown dropdown-profile">
										<a href="javascript:void(0)" data-toggle="dropdown">
											<span class="m-r-sm">John Doe <span class="caret"></span></span>
											<img class="img-avatar img-avatar-48" src="assets/img/avatars/avatar3.jpg" alt="User profile pic" />
										</a>
										<ul class="dropdown-menu dropdown-menu-right">
											<li class="dropdown-header">
												Pages
											</li>
											<li>
												<a href="base_pages_profile.html">Profile</a>
											</li>
											<li>
												<a href="base_pages_profile.html"><span class="badge badge-success pull-right">3</span> Blog</a>
											</li>
											<li>
												<a href="frontend_login_signup.html">Logout</a>
											</li>
										</ul>
									</li>
								</ul>
								<!-- .navbar-right -->
							</div>
						</div>
						<!-- .container-fluid -->
					</nav>
					<!-- .navbar-default -->
				</header>
				<!-- End header -->

				<main class="app-layout-content">

					<!-- Page Content -->
					<div class="container-fluid p-y-md">
						<!-- Simple Wizards -->
						<h2 class="section-title">Simple Wizards</h2>
						<div class="row">

							<!-- .col-lg-6 -->

							<div class="col-lg-12">
								<!-- Simple Wizard (.js-wizard-simple class is initialized in js/pages/base_forms_wizard.js) -->
								<!-- For more examples please check http://vadimg.com/twitter-bootstrap-wizard-example/ -->
								<div class="card js-wizard-simple">
									<!-- Step Tabs -->
									<ul class="nav nav-tabs nav-tabs-alt nav-justified">
										<li class="active">
											<a href="#simple-step1" data-toggle="tab">阅卷任务<span id="scoreNum" class="badge">3</span></a>
										</li>
										<li>
											<a href="#simple-step2" data-toggle="tab">重评任务<span id="reNum" class="badge">4</span></a>
										</li>
										<li>
											<a href="#simple-step3" data-toggle="tab">仲裁任务<span id="artNum" class="badge">5</span></a>
										</li>
									</ul>
									<!-- End Step Tabs -->

									<!-- Form -->

									<!-- 列表信息 Steps Content -->
									<div class="card-block tab-content">
										<!-- 阅卷任务 Step 1 -->
										<div class="tab-pane fade in m-t-md m-b-lg active" id="simple-step1">
											<div class="form-group">
												<div class="col-sm-12">
													<!-- DataTables init on table by adding .js-dataTable-full class, functionality initialized in js/pages/base_tables_datatables.js -->
													<table class="table table-bordered table-striped table-vcenter js-dataTable-full">
														<thead>
															<tr>
																<th class="text-center"></th>
																<th>考试名称</th>
																<th class="hidden-xs">科目</th>
																<th class="hidden-xs w-20">阅卷题组</th>
																<th class="hidden-xs w-30">我的阅卷进度</th>
																<th class="hidden-xs w-40">所有考试</th>
																<th class="text-center" style="width: 10%;">操作</th>
															</tr>
														</thead>
														<tbody id="infoBody">
															<tr>
																<td class="text-center">1</td>
																<td class="font-500">考试1</td>
																<td class="hidden-x">语文</td>
																<td class="hidden-xs">10</td>
																<td class="hidden-xs">0/1</td>
																<td class="hidden-xs">共20份试卷1位阅卷人</td>
																<td class="text-center">
																	<div class="btnDiv btn-group"><button class="btn btn-xs btn-default" type="button" data-toggle="tooltip">我要阅卷</button><button
																		 class="btn btn-xs btn-default" type="button" data-toggle="tooltip">回评重阅</button><button class="btn btn-xs btn-default"
																		 type="button" data-toggle="tooltip">查看进度</button></div>
																</td>
															</tr>
															<tr>
																<td class="text-center">2</td>
																<td class="font-500">考试2</td>
																<td class="hidden-x">语文</td>
																<td class="hidden-xs">10</td>
																<td class="hidden-xs">0/1</td>
																<td class="hidden-xs">共20份试卷1位阅卷人</td>
																<td class="text-center">
																	<div class="btnDiv btn-group"><button class="btn btn-xs btn-default" type="button" data-toggle="tooltip">我要阅卷</button><button
																		 class="btn btn-xs btn-default" type="button" data-toggle="tooltip">回评重阅</button><button class="btn btn-xs btn-default"
																		 type="button" data-toggle="tooltip">查看进度</button></div>
																</td>
															</tr>
														</tbody>
													</table>
												</div>
											</div>

										</div>
										<!-- End Step 1 -->

										<!-- 重评任务 -->
										<div class="tab-pane fade m-t-md m-b-lg" id="simple-step2">
											<div class="">
												<div class="col-sm-8 col-sm-offset-2">
													<div class="">
														<div class="card">
															<div class="card-header">
																<h4></h4>
																<div class="card-actions">
																	<code>重评任务</code>
																</div>
															</div>
															<div class="card-block">
																<table class="table table-hover">
																	<thead>
																		<tr>
																			<th>考试名称</th>
																			<th>科目</th>
																			<th>阅卷题组</th>
																			<th>打回重评进度</th>
																			<th>操作</th>
																		</tr>
																	</thead>
																	<tbody class="repeat-body">

																	</tbody>
																</table>
															</div>
															<!-- .card-block -->
														</div>
													</div>
												</div>
											</div>
										</div>
										<!-- End Step 2 -->

										<!-- 仲裁列表 Step 3 -->
										<div class="tab-pane fade m-t-md m-b-lg" id="simple-step3">
											<div class="col-sm-12">
												<!-- DataTables init on table by adding .js-dataTable-full class, functionality initialized in js/pages/base_tables_datatables.js -->
												<table class="table table-bordered table-striped table-vcenter js-dataTable-full">
													<thead>
														<tr>
															<th class="text-center"></th>
															<th>考试名称</th>
															<th class="hidden-xs">科目</th>
															<th class="hidden-xs w-20">阅卷题组</th>
															<th class="hidden-xs w-30">仲裁阅卷进度</th>
															<th class="hidden-xs w-40">允许评分误差(分)</th>
															<th class="text-center" style="width: 10%;">操作</th>
														</tr>
													</thead>
													<tbody id="infoBody">
														<tr>
															<td class="text-center">1</td>
															<td class="font-500">考试1</td>
															<td class="hidden-x">语文</td>
															<td class="hidden-xs">10</td>
															<td class="hidden-xs">0/1</td>
															<td class="hidden-xs">5</td>
															<td class="text-center">
																<div class="btnDiv btn-group"><button class="btn btn-xs btn-default" type="button" data-toggle="tooltip">我要阅卷</button><button
																	 class="btn btn-xs btn-default" type="button" data-toggle="tooltip">回评重阅</button><button class="btn btn-xs btn-default"
																	 type="button" data-toggle="tooltip">查看进度</button></div>
															</td>
														</tr>
														<tr>
															<td class="text-center">2</td>
															<td class="font-500">考试2</td>
															<td class="hidden-x">语文</td>
															<td class="hidden-xs">12</td>
															<td class="hidden-xs">0/1</td>
															<td class="hidden-xs">3</td>
															<td class="text-center">
																<div class="btnDiv btn-group"><button class="btn btn-xs btn-default" type="button" data-toggle="tooltip">我要阅卷</button><button
																	 class="btn btn-xs btn-default" type="button" data-toggle="tooltip">回评重阅</button><button class="btn btn-xs btn-default"
																	 type="button" data-toggle="tooltip">查看进度</button></div>
															</td>
														</tr>
													</tbody>
												</table>
											</div>


										</div>
										<!-- End Step 3 -->
									</div>
									<!-- End Steps Content -->

									<!-- Steps Navigation -->

									<!-- End Steps Navigation -->

									<!-- End Form -->
								</div>
								<!-- .card -->
								<!-- End Simple Wizard -->
							</div>
							<!-- .col-lg-6 -->

						</div>
						<!-- .row -->
						<!-- End Simple Wizards -->

						<!-- Wizards with Progress -->


						<!-- .row -->
						<!-- End Wizards with Progress -->

						<!-- Wizards with Validation -->


						<!-- .row -->
						<!-- End Wizards with Validation -->
					</div>
					<!-- .container-fluid -->
					<!-- End Page Content -->

				</main>

			</div>
			<!-- .app-layout-container -->
		</div>
		<!-- .app-layout-canvas -->

		<!-- Apps Modal -->
		<!-- Opens from the button in the header -->
		<div id="apps-modal" class="modal fade" tabindex="-1" role="dialog">
			<div class="modal-sm modal-dialog modal-dialog-top">
				<div class="modal-content">
					<!-- Apps card -->
					<div class="card m-b-0">
						<div class="card-header bg-app bg-inverse">
							<h4>Apps</h4>
							<ul class="card-actions">
								<li>
									<button data-dismiss="modal" type="button"><i class="ion-close"></i></button>
								</li>
							</ul>
						</div>
						<div class="card-block">
							<div class="row text-center">
								<div class="col-xs-6">
									<a class="card card-block m-b-0 bg-app-secondary bg-inverse" href="index.html">
										<i class="ion-speedometer fa-4x"></i>
										<p>Admin</p>
									</a>
								</div>
								<div class="col-xs-6">
									<a class="card card-block m-b-0 bg-app-tertiary bg-inverse" href="frontend_home.html">
										<i class="ion-laptop fa-4x"></i>
										<p>Frontend</p>
									</a>
								</div>
							</div>
						</div>
						<!-- .card-block -->
					</div>
					<!-- End Apps card -->
				</div>
			</div>
		</div>
		<!-- End Apps Modal -->

		<div class="app-ui-mask-modal"></div>

		<!-- AppUI Core JS: jQuery, Bootstrap, slimScroll, scrollLock and App.js -->
		<script src="assets/js/core/jquery.min.js"></script>
		<script src="assets/js/core/bootstrap.min.js"></script>
		<script src="assets/js/core/jquery.slimscroll.min.js"></script>
		<script src="assets/js/core/jquery.scrollLock.min.js"></script>
		<script src="assets/js/core/jquery.placeholder.min.js"></script>
		<script src="assets/js/app.js"></script>
		<script src="assets/js/app-custom.js"></script>

		<!-- Page Plugins -->
		<script src="assets/js/plugins/slick/slick.min.js"></script>
		<script src="assets/js/plugins/chartjs/Chart.min.js"></script>
		<script src="assets/js/plugins/flot/jquery.flot.min.js"></script>
		<script src="assets/js/plugins/flot/jquery.flot.pie.min.js"></script>
		<script src="assets/js/plugins/flot/jquery.flot.stack.min.js"></script>
		<script src="assets/js/plugins/flot/jquery.flot.resize.min.js"></script>


		<script>
			var teaId = null;
			var schId = null;
			var repeatExamId = null;
			var repeatExamSubId = null;
			var repeatMarkerId = null;
			var repeatTopicNo = null;
			var repeatTeaId = null;
			var index = null;
			var allInfo = null;
			/**
			 *  * 重评卷的提交分数（正常提交）
			 * @param examId
			 * @param examSubId
			 * @param teaId
			 * @param teaNm
			 * @param topicNo
			 * @param score
			 * @param scoreId
			 * @param recordId 试卷的记录类型（0：正常卷，2：优秀卷，3：典型错误卷）
			 * @param markerId
			 */
			//用于获取 url 参数
			function getUrlParam(name) {
				//构造一个含有目标参数的正则表达式对象
				var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)");
				//匹配目标参数
				var r = window.location.search.substr(1).match(reg);
				if (r != null) {
					return unescape(r[2]);
				} else {
					//返回参数值
					return "";
				}
			}

			//@GetMapping("selectRepeatInfo/{examId}/{examSubId}/{markerId}/{topicNo}/{teaId}")
			function repeatClick() {
				$('.repeat-body').delegate(".btn-repeat", "click", function() {
					index = $(this).attr("data-index");
					if (allInfo[index].alreadyRepeatExamNum == allInfo[index].repeatExamNum) {
						alert("已经完成")
						return;
					}

					var url = "./scorePage.html?examId=" + allInfo[index].examId + "&examSubId=" + allInfo[index].examSubId +
						"&markerId=" + allInfo[index].markerId + "&topicNo=" + allInfo[index].topicNo + "&teaId=" + teaId + "&schId=" +
						schId;
					console.log(url)
					window.location.href = url;
					//return false;
				})
			}

			//重评列表字符串
			function strRepeatList(data) {
				var str = "";
				for (var i = 0; i < data.length; i++) {

					str += '<tr>';
					str += '<td >' + data[i].examNm + '</td>';
					str += '<td>' + data[i].subNm + '</td>';
					str += '<td >' + data[i].topicNo + '</td>';
					str += '<td >' + data[i].topicNo + '</td>';
					str += '<td >' + data[i].alreadyRepeatExamNum + '/' + data[i].repeatExamNum + '</td>';
					str += '<td >';
					str += "<button class='btn btn-repeat' data-index='" + i + "'>我要重评</button>";
					str += '</td>';
					str += '</tr>';
				}
				$('.repeat-body').html(str);
			}

			//获取重评列表
			//@GetMapping("selectRepeatList/{teaId}/{schId}")
			function getRepeatList(teaId, schId) {

				if (teaId != null && schId != null && teaId.length != 0 && schId.length != 0) {
					var url = "http://localhost:6630/wanbangee/exam-score/repeat/selectRepeatList/" + teaId + "/" + schId;
					var token = sessionStorage.getItem("token")
					$.ajax({
						headers: {
							"token": token
						},
						type: "get", //请求方式
						async: true, //是否异步
						url: url,
						crossDomain: true,
						contentType: "application/x-www-form-urlencoded",
						//jsonpCallback:"successCallback",    //自定义跨域参数值，回调函数名也是一样，默认为jQuery自动生成的字符串
						success: function(data) {
							console.log(data)
							if (data.code == 1001) {
								if (data.result == null) {

								} else {
									allInfo = data.result;
									strRepeatList(data.result)
								}
							}
						},
					});
				}

			}

			$(function() {
				teaId = getUrlParam("teaId");
				schId = getUrlParam("schId");
				//获取重评列表
				getRepeatList(teaId, schId);
				//重评按钮
				repeatClick();
			});
		</script>

	</body>

</html>
